package com.smart_campus.sys.vo;

import com.smart_campus.sys.domain.Notice;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @aytgor 陈鹏
 * @date 2020/6/9 10:51
 * 公告vo
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class NoticeVo extends Notice {
    public static final long SERIAL_VERSION_UID = 1L;

    private Integer page = 1;
    private Integer limit = 10;
    /**
     * 接收多个id
     */
    private Integer[] ids;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
